<html>
  <link>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <script src="./lib/vue.min.js"></script>
    <script src="./lib/dayjs.min.js"></script>
    <link rel="stylesheet" href="index.css"></link>
    <title>plan</title>
  </head>
  <body>
    <div id="app">
      <div class="set" v-show="print" @click="">
        <div>
          <label>
            请选择计划起始日期
            <input type="date" v-model="startDate">
          </label>
        </div>
        <div>
          <input type="number" v-model="num">
        </div>
        <div>
          <button type="button" class="btn btn-primary"  @click="getMyCalendar" style="margin-right: 10px;">生成</button>
          <button type="button" class="btn btn-primary" @click="startPrint">打印</button>

        </div>
        <div>
        </div>
      </div>
        <div class="calendar">
          <div class="content">
            <div>
              计划内容:
            </div>
             <div>
              <img src="./Screenshot_20230908_112412_com.png" alt="" class="mange">
            </div>
          </div>
          <div>
            <div class="c-head">
              <div v-for="item in weekday" class="day">{{item}}</div>
            </div>
            <div class="c-body">
              <div class="week" v-for="item in dataArr">
                <div class="day" v-for="subItem in item">
                  <div>{{subItem.str}}</div>
                  <div class="num">{{subItem.index}}</div>
                </div>
              </div>
            </div>
          </div> 
          <div class="content">
            奖励与惩罚:
          </div>
      </div>
     
    </div>
    <script src="index.js"></script>
  </body>
</html>